package com.tgit.sso.paltform.config;

import lombok.Data;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "sso")
@Data
public class SsoConfigBean {

    private Boolean languageFlag;
    private String copyright;
    private String companyFullName;
    private String companyFullNameUs;

    private String dbDriverClassName;
    private String dbUrl;
    private String dbUsername;
    private String dbPassword;

    private String redisAddress;
    private String redisPassword;

    private Integer sessionTimeout;
    private String whiteIpList;

    private String casUrl;
    private String defaultUrl;

    private String noticeContent;
    private String noticeContentEn;
    private String noticeStartTime;
    private String noticeEndTime;
    private Integer noticeFlag;
}
